/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.cakerun.model.resp;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.admin.common.base.model.resp.BaseResp;
import java.io.Serial;
import java.time.*;
import java.math.BigDecimal;

/**
 * 每日收益信息
 *
 * @author tangyu
 * @since 2025/07/02 23:41
 */
@Data
@Schema(description = "每日收益信息")
public class OrderShopResp extends BaseResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 账号ID
     */
    @Schema(description = "账号ID")
    private Integer accountId;
    private String accountName;
    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 店铺ID
     */
    @Schema(description = "店铺ID")
    private String shopId;
    private String shopName;

    /**
     * 交易次数
     */
    @Schema(description = "交易次数")
    private Integer cnt;

    /**
     * 实际支付金额
     */
    @Schema(description = "实际支付金额")
    private BigDecimal realPayed;

    /**
     * 业务成本
     */
    @Schema(description = "业务成本")
    private BigDecimal bizCost;

    /**
     * 服务费用
     */
    @Schema(description = "服务费用")
    private BigDecimal service;

    /**
     * 应付款金额
     */
    @Schema(description = "应付款金额")
    private BigDecimal due;

    /**
     * 合作伙伴自配送费用
     */
    @Schema(description = "合作伙伴自配送费用")
    private BigDecimal partnerSelfDeliverFee;

    /**
     * 业务时间
     */
    @Schema(description = "业务时间")
    private LocalDate businessTime;
}